package com.huluobo.user

import com.huluobo.lib_base.UIIntent
import com.huluobo.lib_base.entity.User

/**
 *  Created by LC on 2025/7/30.
 */

sealed class UserIntent : UIIntent {
    data class Register(val user: User) : UserIntent()
    data class Login(val username: String, val password: String, val role: Int) : UserIntent()

    data class AddEmployee(val map: Map<String, Any>) : UserIntent()

    data class LoginNetwork(val map: Map<String, Any>) : UserIntent()

    data class AddApprove(val map: Map<String, Any>) : UserIntent()

    data object GetApprove : UserIntent()

    data class DeleteApprove(val id: Int) : UserIntent()

    data class ComApprove(val map: Map<String, Any>) : UserIntent()
    data class LoginVideo(val map: Map<String, Any>) : UserIntent()
}